Ext.define('Admin.view.page.homepage.Homepage', {
    extend: 'Ext.panel.Panel',
    requires: [
        'Ext.layout.container.HBox'
    ],
    id : 'homepage-view',
    xtype: 'homepage-view',
    title: '主页',
    frame: true,
    layout: {
        type: 'hbox',
        pack: 'start',
        align: 'stretch'
    },
    // height: Ext.Element.getViewportHeight(),
    // bodyPadding: 10,
    // padding : '0 10 0 0',
    defaults: {
        frame: true,
        bodyPadding: 10
    },
    items: [
        {
            title: '任务面板',
            flex: 1,
            // margin: '0 10 0 0',
            html: 'flex : 1'
        },
        {
            title: '操作控制',
            width: 100,
            flex: 1,
            // margin: '0 10 0 0',
            html: 'width : 100'
        },
        {
            title: '日志监控',
            flex: 2,
            html: 'flex : 2'
        }
    ]
});
